<script>
import {defineComponent} from 'vue'

export default defineComponent({
name: "push_record"
})
</script>

<template>
  <div>
    <header>
      <el-breadcrumb separator-class="el-icon-arrow-right">
        <el-breadcrumb-item :to="{ path: '/index' }">首页</el-breadcrumb-item>
        <el-breadcrumb-item>推广员管理</el-breadcrumb-item>
      </el-breadcrumb>
    </header>
    <div style="margin: 2% 0 0 0">
      <div>
        <span>推广员：<el-input placeholder="请输入内容" style="width: 20%" size="small"/></span>
        <span>分组：<el-select type="text" style="width: 12%" size="small">
          <el-option label="全部" value=""></el-option>
        </el-select></span>
        <span>
          推广时间：<el-date-picker
          v-model="value1"
          type="date"
          placeholder="开始日期"
          size="small"
          style="width: 12%">
          </el-date-picker>
          至
          <el-date-picker
            v-model="value1"
            type="date"
            placeholder="结束日期"
            size="small"
            style="width: 12%">
          </el-date-picker></span>
        <el-button size="small">昨天</el-button>
        <el-button size="small">近7天</el-button>
        <br>
        <br>
        <span>
          用户类型：<el-select type="text" style="width: 12%" size="small">
          <el-option label="全部" value=""></el-option>
        </el-select>
        </span>
        <span>
          状态: <el-select type="text" style="width: 12%" size="small">
          <el-option label="全部" value=""></el-option>
        </el-select>
        </span>
        <span>
          推广类型：<el-select type="text" style="width: 12%" size="small">
          <el-option label="全部" value=""></el-option>
        </el-select>
        </span>
        <el-button type="primary" size="small">搜索</el-button>
        <el-button size="small">重置</el-button>
      </div>
      <hr>
      <el-button type="success" size="small">导出数据</el-button>
      <div style="width: 20%;float: right">
        <span>推广用户数{{ 456 }}</span>
        <span>注册:{{ 4 }}</span>
        <span>未注册:{{ 4 }}</span>
      </div>
      <el-table size="small" border>
        <el-table-column prop="" label="推广时间"/>
        <el-table-column prop="" label="推广员"/>
        <el-table-column prop="" label="推广分组"/>
        <el-table-column prop="" label="推广类型"/>
        <el-table-column prop="" label="推广标记(微信ID)"/>
        <el-table-column prop="" label="获客用户"/>
        <el-table-column prop="" label="用户类型"/>
        <el-table-column prop="" label="注册时间"/>
        <el-table-column prop="" label="状态"/>
      </el-table>
      <el-pagination
        v-model:current-page="currentPage4"
        v-model:page-size="pageSize4"
        :page-sizes="[10, 20, 30, 40]"
        :size="size"
        layout="total, sizes, prev, pager, next, jumper"
        :total="400"
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
      />
    </div>
  </div>
</template>

<style scoped>
span{
  margin-left: .5%;
}

.el-pagination{
  margin-top: 1%;
  float: right;
}
</style>
